import {api} from './common/http.js'   //引入封装好的axios

const knowledge = {
  //获取知识列表
  page(data) {
    //console.log(data);
    return api.get("knowledge/page", data)
  },
  //获取知识集合
  list(data) {
    //console.log(data);
    return api.get("knowledge/list", data)
  },
  //获取知识详情
  detail(data) {
    return api.get("knowledge/detail", data)
  },
  //修改知识标注:星星、
  editMark(data) {
    return api.post("knowledge/editMark", data);
  },
}
export default knowledge;

